home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Inside!
/
Amiga FD Inside (1995)(Ultramax).iso
/
berndspd
/
grafiktools
/
mugiff
/
mugiff.english
< prev
next >
Wrap
Text File
|
1993-05-09
|
19KB
|
428 lines
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»«««««««««««««««««««««««««««««««««««««
»»»»»»»»»»»»» «««««««««««««
»»»»»»»»»»»»»»D o c u m e n t a t i o n f o r M U G i f f««««««««««««««
»»»»»»»»»»»»» «««««««««««««
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»«««««««««««««««««««««««««««««««««««««
© 1993 by Mark Rose
THIS PROGRAM IS MAILWARE. THE COPYRIGHT AND ALL MEANS OF EXPLOITATION
REMAIN PROPERTY OF THE AUTHOR. IT MAY BE FREELY DISTRIBUTED IF THE
FOLLOWING REQUIREMENTS ARE MET:
1. NO MONEY MAY BE CHARGED FOR THE DISTRIBUTION OF THIS PROGRAM EXCEPT A
NOMINAL FEE FOR EXPENSES. THIS FEE MUST NOT EXCEED 5.- DM (FIVE
GERMAN MARKS IN WHATEVER CURRENCY).
2. THE DOCUMENTATION (ENGLISH AND GERMAN), THE SOURCECODE, EXECUTABLE AND
ALL OTHER FILES OF THIS DISTRIBUTION REMAIN INTACT AND UNCHANGED AND
*MUST* BE DISTRIBUTED TOGETHER.
3. THIS PROGRAM MUST NOT BE USED IN ANY COMMERCIAL WAY. IF YOU WANT TO
USE THIS PROGRAM IN ANY COMMERCIAL FORM PLEASE CONTACT THE AUTHOR AND
TERMS CAN BE NEGOTIATED.
THE AUTHOR TAKES NO RESPONSIBILITY FOR ANY DAMAGE THAT RESULTS FROM THE
USE OF THIS PROGRAM.
THE AUTHOR ESPECIALLY ENCOURAGES THE INCLUSION IN THE 'AMOK' (AMIGA
MODULA UND OBERON KLUB), 'FRED FISH AMIGA FREELY DISTRIBUTABLE LIBRARY'
SERIES AND THE XPK-DISTRIBUTION.
=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=
Since in the last versions nobody had the 'grace' to drop me a single
line (even by EMail which does not cost anything) I changed the status of
this program to
M A I L W A R E .
This means that everybody who uses this program longer than a day is
REQUIRED to send me mail by any means. Otherwise he is a pirate
(and a louse, too).
=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=
What MUGiff is:
»»»»»»»»»»»»»»»
Yet another IFF-viewer. But... (see next section)
Features:
»»»»»»»»»
- Displays just any ILBM imagineable (except nested IFFs)
- KS 1.2, 1.3, 2.04, 3.0 compatible (including AGA-support)
- Runs on ANY Amiga (hopefully) thanks to IFF-library. Tested on A500
(512Chip,512Fast) KS1.2, A2000C (1MB Chip, 4MB Fast16, 4MB Fast32)
68030/881 KS2.04/KS3.0, A500 (2.3MB Fast, Kick 2.0).
- Can display any number of pictures (under KS2.04, because of unlimited
commandline length)
- XPK-support. XPKmaster.library must be installed though.
- EXTREMELY SHORT! This version: 7024 bytes! (+ iff.library 3164 bytes)
- Supports OverScan (even under KS1.2/1.3). This is done in a NOT KS2.0
way! Works though ;)
- IFF24bit pictures can be displayed. Because of a limitation in
IFF.library it is just the red part. The only other way (as in ShowIFF
of the library) would be to load the complete 24bit bitmap into CHIP
and 400×400 would be the limit (1meg CHIP).
- >>NEW SINCE 1.03<<
Pictures larger than the screen can be scrolled without limiting
multitasking at all (no mousemovement, no CPU-time! In contrast to
ShowIFF which calls GetMsg all the time).
>>NEW SINCE 1.04<<
The IDCMP-loop is done faster now, speeding scrolling up on 68000 based
Amigas (suggested by Thies Wellpott on Fish 771).
- >>NEW SINCE 1.06<<
MUGiff now invokes the ReqTools FileRequester when no argument is
supplied AND ReqTools has been installed.
- >>NEW SINCE 1.06<<
Several bugs were removed (see 'History.DEF' for details) and MUGiff
now runs very reliable and stable on MY machine (well, I wrote it for
myself in the first place so this is the main feature... ;^) )
- >>NEW SINCE 1.06<<
MUGiff now comes with handdrawn Icons! Why this? Workbench usability
was greatly improved (e.g. ability to suppress annoying WB-window).
- >>NEW SINCE 1.09<<
MUGiff now supports MultiSelection! Especially useful for disk-based
systems. Select all the files you want and display them.
- >>NEW SINCE 1.10<<
Finally the ability to save uncompressed IFF-pictures has been added.
With XPK (HUFF 100%) you can save 2 up to 20KBytes. Please note
that this version has MORE features but is SHORTER!
- >>NEW SINCE 1.11<<
Now you can play animations! You can even crunch your animations with
XPK! Gives much better results than PowerPacker AND MUGiff is 6000
bytes shorter than PPShow (though not as feature packed)! Combine
pictures and animations of any type and watch! This version is again
SHORTER (550 Bytes!) than the previous!
- >>NEW SINCE 1.11<<
Tested with the new ENFORCER (Fish 800)! I couldn't find a single hit!
- >>NEW SINCE 1.12<<
Finally verified AGA-support! Thanks to Jeff Hobbs for helping me
finding the AGA-bugs (he was also the first and only one who sent me
mail regarding MUGiff). HAM8 and 256 color pictures can be pre-viewed
on non-AGA machines (in 16 colors but better than nothing).
Known Features:
»»»»»»»»»»»»»»»
Oops! This should read Bugs of course... 8þ
This is a bug in iff.library: Some XPK-packed EHB pictures are declared
"non-iff" by the OpenIFF routine. I have exactly ONE picture that shows
this behaviour (out of hundreds). It is AnarchyDragon of the Party'92.
Other crunched EHB-pictures just work fine... (BTW I use HUFF 100%)
The save routine (new since 1.10) has problems with EHB-pictures. The
colortable seems to be too short. I couldn't locate this problem in my
program (I just call SaveBitMap). My guess is that iff.library looses some
bytes when counting colors but this will be checked more thoroughly...
MUGiff seems to loose some bytes of FastRam if used in conjunction with
ReqTools. The amount is exactly that of the FileList of ReqTools. After a
while (some program calls) the memory magically reappears. I call
'FreeFileList' for sure but it seems that ReqTools takes some time to free
the memory. So do not blame me for temporary memory losses!
Installation:
»»»»»»»»»»»»»
Very easy: just copy the IFF.library and ReqTools.library (depending on
the Kickstart version you have) to your LIBS: directory (either by hand or
using the provided scripts), put MUGiff somewhere in your path (e.g. C:)
and all the fun can begin...
ReqTools is NOT explicitly needed by MUGiff (it checks for ReqTools V38
and if it is not found it the FileRequester is disabled). But if you use
MUGiff regularly in a shell environment or from Workbench I suggest to
install ReqTools to save your poor little fingers...
»»»»»»»»»»»»»
» REMEMBER: »
»»»»»»»»»»»»»
IFF.library is © by Christian A. Weber
ReqTools.library is © by Nico François
Usage:
»»»»»»
CLI: Just start it with the name(s) of the picture(s).
----
Example: MUGiff DH0:IFFs/THEpic.IFF DF0:WoC.HAM RAM:Irving.face.ugly
While displaying the picture you can scroll around using the mouse
(if the picture is larger than the screen). If more than one
picture was supplied as argument you can display the next picture
with the left mousebutton (or press any key) and abort the entire
display with the right mousebutton.
Since 1.6 you needn't provide an argument at all. This causes
MUGiff to look for ReqTools.library. If it can find the library it
will open a FileRequester for you and (since 1.9) you can select as
many files as you want to. Just hold down the SHIFT-key and click
on the files you want to view. You can also use the gadgets
provided by the requester (which should be self-explanatory but for
full documentation see ReqTools.doc)
A new feature has been added since 1.10: The ability to save the
currently displayed picture. Just press 's' and the old picture
will be overwritten with an uncompressed version and the next
picture (if any) will be displayed. This way you can convert MBytes
of pictures for use with better packers than RunLengthEncoding
(RLE). ATTENTION: see the section 'Known Features' for a bug
occuring with EHB-pictures!
Since 1.11 MUGiff is also able to play animations (ANIM OPT 5)!
You can use the same selection methods as for pictures. To finish
the playback press CTRL + C and the next file will be displayed.
You can mix animations and pictures any way you want to (ideal for
presentations).
WB : 1. Make MUGiff the default-tool of your picture icon, double-click
---- it and enjoy
2. Via extended selection. That is click on the MUGiff icon with
the mouse and hold down the shift-key. Then double-click on the
picture icon(s). (and enjoy yourself THEN).
3. If you have ReqTools installed: double-click on the MUGiff icon
and a FileRequester will appear. Choose your file(s) (Details
can be found in 'CLI'-section above).
The program automatically opens a window to display information
about the pictures (resolution, depth and wether it is an iff or
not). If this annoys you (especially the 'press >>RETURN<<') give
the icon an ToolType entry "WINDOW=NIL:". You can also specify the
dimensions of the window:
"WINDOW=CON:0/0/1024/1024/ReallyBIGwindow/AUTO/CLOSE/MyPublicScreen"
(the latter three for Kick 2.04 users only).
See CLI (above) for more features and details...
Hardcore Techno:
»»»»»»»»»»»»»»»»
This program was written to be as system-friendly as possible. No busy
loops or any other anti-multitasking methods are used. All memory is
dynamically allocated. All resources are freed (look at 'Known features'
for details). All references to bitmaps are via Screen^.rastPort.bitMap as
suggested by C= for future compatibility. The screen-swapping for the
animplayer is done by ScreenToFront and a WaitTOF for synchronization.
The annoying CTRL + C (at least for mousicians) was chosen because it is
the shortest (in code) and most compatible way for request in a loop.
GetMsg would be no good because there can be messages even if the user did
nothing (refer to RKM: Libraries for details). A timer.device based
asynchronous routine would be nice but I doubt it to be shorter and it is
too much work just to test (yes, I AM lazy ;^) ). If you want to you can
implement it yourself and send it to me for release.
MUGiff is intended to be as short a possible (and NOT using assembler),
KS 1.2/1.3 compatible and to have all features that are not in contrast to
the last two.
Tips for using MUGiff:
»»»»»»»»»»»»»»»»»»»»»»
"Why doesn't this damned program support wildcards ???"
Very easy. It is designed to be used in such tools as Directory Opus,
DiskMaster or similar. Put it in a gadget there and it will feel at home.
This will also prevent that your fingers bleed due to too excessive typing.
"I want MUGiff to have an AppIcon !"
With the highest probability this will NEVER come true. I do not need it
and as egoistic as I am I would never struggle to program something I do
not have any use for. But in the unexpected case that dozens of people cry
for it... (sigh, moan)
"Why is there no FileRequester ?"
Well, check your version of MUGiff. Since 1.6 there it is: the ReqTools
FileRequester. You must have installed ReqTools though. Since 1.9 there is
also the possibility to select many files at the same time.
"I would like to see the #? feature added"
Patience. First try reading the next section for things to come. If
your desires are not met there just contact me ("how" is explained at the
end of this file). If it is a feature I need myself you will find it in
the next version. If it is not more people should ask for it and I will
implement it (sigh again).
"MUGiff is desperately in need of a WYSIWYG editor, an art package (where
else should the pictures come from?), a Tetris-clone (preventing the
pictures from being too boring), GameBoy(tm) implementation, 32768bit
Halfbrite-mode (Kick 19.0) support and should become shorter (no space
on my WB-disk)."
Exactly! How about a software 68040 emulator, that is able to simulate
16meg RAM on a stock A600 1MB and is 327% faster? AAAARRRRGGGGHHHH!
What will there be in future versions:
»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
In order of probability:
- This is probably the last Modula-2 version. Since my SAS/C copy
arrived this week it is just a matter of time when the port to C is
done. But first I'll have to work through hundreds of pages of
manual...
If you want to purchase M2Amiga 4.1d contact me! ];^}
- PCHG-support. You could finally crunch these fantastic pictures (which
are also fantastically large) with XPK and still view them! This
feature has become more likely due to the availability of a C-compiler.
- I cannot think of any more things to add. Tell me what you want.
Bug-Reports:
»»»»»»»»»»»»
A bug in one of MY programs? IMPOSSIBLE !!! UNTHINKABLE !!! But in
case that perhaps despite that...
Please send the reports to the address below. EMail would be VERY nice
because of the mindboggling speed. Please tell me your exact
configuration. The specifications of the picture and the kind of bug
should also be described with detail. If possible send me the picture for
testing (UUEncoded via EMail for example).
If this documentation contains mistakes (grammatical and/or spelling)
please tell me so I can correct them. You perhaps noticed that English is
not my native tongue...
Support:
»»»»»»»»
If you want to get the newest version faster than anyone else does do one
of the following things (depending on where you live):
Europe [that is the EEC]: Send five German Marks to the address below.
If you want to use a different currency, add
one Mark because the bank likes to get its
share... Use EuroCheques or cash (NO COINS!)
Outside Europe [not EEC]: Send five US-Dollars to the address below. If
you can get your hands on a check drawn on a
German bank, use it. Otherwise please use cash
only (bank fees are too expensive, more than
5DM anyway)
It would be very kind if you would send a self-addressed envelope for
easier handling. The disk is supplied by me and included in the price.
This disk will contain the newest version of MUGiff (of course) and the
newest distribution of XPK, IFF.library and ReqTools.
As you can see the requested money has no margin for profit. If you like
MUGiff please remember this program is MailWare. Thank You.
How to contact me:
»»»»»»»»»»»»»»»»»»
There are many ways. Here they are in order of preference:
- Via EMail : ukkg@ibm3090.rz.uni-karlsruhe.de
»InterNet« no UUEncoded
binaries! I cannot save mail to
disk there!
ukkg@dkauni2.bitnet »BitNet« same as above
s_rose@iravcl.ira.uka.de »InterNet«if there are problems
to contact me under above
addresses [did happen!]
PLEASE NOTE THAT UNTIL MID-APRIL I CANNOT ANSWER EMAIL BECAUSE OF ABSENCE.
SNAIL MAIL TO MY OFFENBURG ADDRESS WILL REACH ME THOUGH.
- Via Mailbox : FidoNet: Mark Rose 2:241/7506.2 (Gio's Home)
- Snail Mail : Mark Rose Mark Rose
Waldhornstr. 36, D604 Franz-Volk-Str. 37
7500 Karlsruhe 7600 Offenburg
GERMANY GERMANY
(during Semester) (you may always reach me there
but may take a while...)
Acknowledgements:
»»»»»»»»»»»»»»»»»
Thanks to: Nico François for his great ReqTools.library
Christian Weber for his IFF.library. This one did save me a
LOT of work (especially porting some nested C-code...)
Fred Fish for providing the AMIGA-community with the
incredibly good AmigaLibDisks which served the community
better than every A4000! Please continue your great work!
the AMIGA for being the best computer in the world.
Jeff Hobbs for being the first and only person who complied to
the MAILWARE status of this program and for being invaluable
in supporting AGA.
Markus Welte, Heby, Michael Renz and Andreas Krebs, my very
helpful ß-testers (and source of a lot of work ;^) ).
Gio for maintaining the best AMIGA-mailbox (Gio's Home)
possible. You can always get the most recent version of
MUGiff there.
+-------------------------------------------------------------------------+
| T H I S P R O G R A M I S M A I L W A R E ! |
+=========================================================================+
| Please remember: This program is MailWare. If you like it and use it |
| on a regular basis, think of the poor student who appreciates small |
| amounts of mail that tell him how great/average/bad/&$§#?!* |
| his program is. So M A I L me at once and have a clear conscience |
+-------------------------------------------------------------------------+
___________________________________________________________________________
____ ONLY ____ _____ ____
| __ ||\ /||_ _|| ____|| __ | "Harry : What do you recommend for a
||__||||\ //| || || ___ ||__|| hangover?
| __ |||\\//|| || |||___|| __ | Annie : Teetotaling and prayer.
|| |||| \/ || _||_ ||___|||| || Cooper: Good answer.
|| |||| |||____||_____||| || Harry : I'll try some coffee."
makes it possible... Twin Peaks
___________________________________________________________________________